﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PathFinding
{
	public interface IIntersection
	{
		string LocationName { get; set; }
		int X { get; set; }
		int Y { get; set; }
		double Weight { get; set; }
		bool IsCalculated { get; set; }
		IIntersection[] Neighbours { get; set; }
		IIntersection PreviousNode { get; set; }

		double GetDistance(IIntersection destination);
	}
}
